package com.zero.util;

/**
 * 基础方法
 *
 * @author wuxi
 * @date 2020-07-29
 */
public class BaseUtil {

    private BaseUtil() {
    }

    public static String parsingPackage(String packageName, String separator) {
        return packageName.substring(packageName.lastIndexOf("com")).replace(separator, ".");
    }
}